import request from '@/utils/request'

export default {
    //分页查询课程评论
    getCourseComments(courseid,page,limit){
        return request({
            url: `/eduservice/edu-comment/getCourseComments/${courseid}/${page}/${limit}`,
            method: 'get'
        })
    },
    //添加评论
    addComment(couseComment){
        return request({
            url: '/eduservice/edu-comment/addComment',
            method: 'post',
            data:couseComment 
        })
    }

}